package cn.zy.framework.bean;

import java.lang.reflect.Method;

/**
 * @Author: Administrator
 * @Description:
 * @Date: Created in 10:02 2021/9/11
 * @Modified By:
 * @version: 1.0
 * 封装 Action 信息
 */
public class Handler {

	/**
	 * Controller 类
	 */
	private Class<?> controllerClass;

	/**
	 * Action 方法
	 */
	private Method actionMethod;

	public Handler(Class<?> controllerClass, Method actionMethod) {
		this.controllerClass = controllerClass;
		this.actionMethod = actionMethod;
	}

	public Class<?> getControllerClass() {
		return controllerClass;
	}

	public Method getActionMethod() {
		return actionMethod;
	}
}
